package com.security.manage.search.repository;

import com.security.manage.search.model.WarnInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface WarnInfoRepository  extends JpaRepository<WarnInfo,Long>, JpaSpecificationExecutor<WarnInfo> {
    List<WarnInfo> findByDeptIdIn(List<Long> deptIds);
}
